package com.zq.blog_serve.controller.flowable;

import com.zq.blog_serve.common.AjaxResult;
import com.zq.blog_serve.entity.condition.StartTask;
import com.zq.blog_serve.service.flowable.ProcessTaskService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping("processTask")
public class ProcessTaskController {

    @Autowired
    ProcessTaskService processTaskService;

    // 发起流程
    @PostMapping("startTask")
    public AjaxResult startTask(@RequestBody StartTask startTask) {


        return AjaxResult.success();
    }


}
